package com.zhijian.medical.entity.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: TODO
 * @Author: hcg
 * @Date: 2024/11/22
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "1")
public class HstMeetingV2MeetingResponseDto extends HstMeetingV2CommonResult implements Serializable {

    private static final long serialVersionUID = 1L;

    private PageV2Bean data;

    /**
     * 页
     */
    @Data
    @Api(tags = "2")
    public static class PageV2Bean implements Serializable {
        private static final long serialVersionUID = 1L;

        /**
         * 当前页
         */
        private Integer current;

        /**
         * 总页数
         */
        private Integer pages;

        /**
         * 每页显示条数，默认 5
         */
        private Integer size;

        /**
         * 总数
         */
        private Integer total;

        private List<DataV2Bean> records;

        @Data
        @Api(tags = "数据")
        public static class DataV2Bean implements Serializable {

            private static final long serialVersionUID = 1L;

            /**
             * 预定开始时间
             */
            @ApiModelProperty("预定开始时间")
            private String hopeStartTime;

            /**
             * 预定结束时间
             */
            @ApiModelProperty("预定结束时间")
            private String hopeEndTime;

            /**
             * 允许最大用户数
             */
            @ApiModelProperty("允许最大用户数")
            private String maxUserCount;

            /**
             * 实际开始时间
             */
            @ApiModelProperty("实际开始时间")
            private String recordStartTime;

            /**
             * 实际结束时间
             */
            @ApiModelProperty("实际结束时间")
            private String recordEndTime;

            /**
             * 会议名称
             */
            @ApiModelProperty("会议名称")
            private String roomName;

            /**
             * 开始会议URL
             */
            @ApiModelProperty("开始会议URL")
            private String startMeetingUrl;


            private Integer roomId;

            private String startTime;
            private String endTime;
        }
    }
}
